<#include "/common/layout_dl.html">
<@header>
</@header>
<@body>
<form class="form-horizontal layui-form layui-form-pane" method="post" action="/projects/job/doEdit">
   <div class="box-body">
   	<input type="hidden" value="${(job.id)}" name="id" />
     <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">项目名</label>
       <div class="col-sm-10">
      		<input type="text" id="uname" name='jobName' value="${(job.jobName)!} " class="form-control" placeholder="请输入模板名" lay-verify="required" check-url="/projects/job/checkName">
     	</div>
     </div>
     
     <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">描述</label>
       <div class="col-sm-10">
      		<input type="text" id="desc" name='desc' value="${(job.desc)!}" class="form-control" placeholder="请输入模板描述" lay-verify="required" >
     	</div>
     </div>
     
 
      <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">版本库地址</label>
       <div class="col-sm-10">
      		<input type="text" id="desc" name='gitUrl' value="${(job.gitUrl)!}" class="form-control" placeholder="请输入模板版本库地址" lay-verify="required" >
     	</div>
     </div>
     <div class="form-group">
            <label class="col-sm-2 control-label">流水线脚本</label>
             <div class="col-sm-10">
            <textarea id="ps" class="form-control" name='pipelineScript'  lay-verify="required" rows="20"  >${(job.pipelineScript)!}</textarea>
          	</div>
          </div>
    
         <div class="form-group">
         		<label class="col-sm-2 control-label">&nbsp;</label>
         		 <div class="col-sm-10">
         		 	<button type="submit" class="btn btn-success" lay-submit lay-filter="submit"><i class="fa fa-save"></i>  提 交</button>
   		  </div>
         </div>
     </div><!-- /.box-body -->
 </form>

</@body>
<@footer>
 
</@footer>